Self-Closing Tags in HTML
Self-closing tags (also called void elements) are HTML elements that do not have any content or closing tag. They only consist of a single opening tag and are used for elements where no inner content is needed, such as images or line breaks.
<img> – for images
<br> – for line breaks
<input> – for form inputs
<meta> – for metadata
<source> – for media sources
<area> – for image maps